package com.dqyt.app.controller;

import com.dqyt.app.service.AppCityService;
import com.dqyt.khjc.bean.ResultMsg;
import com.dqyt.khjc.service.CityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class AppCityController {

    @Autowired
    private AppCityService cityService;

    @RequestMapping("/sample/getCitys")
    public ResultMsg getCityList(){
        ResultMsg resultMsg = cityService.getCityList();
        return  resultMsg;
    }




}
